package me.zhengjie.base;

import lombok.Data;

import java.util.List;

// 懒加载的数据结构
@Data
public class LazyData<T> {

    private List<T> content;

    private Long totalElements;

    private Long pageNumber;

    private Long pageSize;

    private Integer totalPages;

    private Boolean first;

    private Boolean last;

    private Boolean empty;
}
